package designpatterns.facade.code;

import algorithms.encryption.base64.Base64Utils;

/**
 * @description: 文件加密
 * @author: zk
 * @date: 2023-02-02 17:47
 */
public class FileEncrypt {

    public String encrypt(String context) {
        System.out.println(String.format("加密文本=>context=%s", context));
        return Base64Utils.encoder(context);
    }

    public String decryption(String context) {
        System.out.println(String.format("解密文本=>context=%s", context));
        return Base64Utils.decoder(context);
    }
}
